package com.cfuture08.home.action.user;

import com.cfuture08.eweb4j.mvc.action.ActionSupport;
import com.cfuture08.eweb4j.orm.dao.DAO;
import com.cfuture08.home.vo.User;

public class ShowUser extends ActionSupport {
	private long id;

	public String execute() {
		User user = new User();
		user.setId(id);
		this.request.setAttribute("user", DAO.selectOne(user));
		return SUCCESS;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
}
